﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.UI.Resources;

namespace SchoolPointe.RelatedContent
{
    public class ResourceManifest : IResourceManifestProvider
    {
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            builder.Add().DefineScript("jQueryUI_MultiSelect")
                .SetUrl("jquery.multiselect.min.js", "jquery.multiselect.js").SetVersion("1.10")
                .SetDependencies("jQueryUI_Core", "jQueryUI_Widget");
            builder.Add().DefineScript("RelatedContentSettings").SetUrl("RelatedContentSettings.js").SetDependencies("jQueryUI_MultiSelect");

            builder.Add().DefineStyle("jQueryUI_MultiSelect").SetUrl("jquery.multiselect.css").SetDependencies("jQueryUI_Orchard");
        }
    }
}